/**
 * Copyright (c) 2015-2030 by Beijing Yanlight Co., Ltd.
 * All rights reserved.
 */
package com.yanlight.type;

/**
 * 商城订单状态
 * 
 * @author haolw
 * @time 2017/11/29
 */
public enum ShopOrderType {
	UNPAYMENT(0, "待付款"), 
	PAYMENTED(1, "已付款"), 
	WAIT_DISTRIBUTIONED(2, "商家确认配货完成待发货"), 
	WAIT_HOME_TAKE(3, "送货上门配送中待收货"),
	CLOSED(5, "已关闭"), 
	COMPLETED(6,"已完成");
	private Integer type;
	private String name;

	ShopOrderType(Integer type, String name) {
		this.type = type;
		this.name = name;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
